`if (str1 == null)` when throws a NullPointerException
Posted
by Daziplqa
on Stack Overflow
See other posts from Stack Overflow
or by Daziplqa
Published on 2010-05-13T20:41:14Z
Indexed on
2010/05/13
20:44 UTC
Read the original article
Hit count: 182
In java, Does the following line has a possiblity (even 0.01%) to throw a NullPointerException??
if (str1 == null)
Actually I am falling some bug in the code and It says that similar line throws a java.lang.NullPointerException ?!
© Stack Overflow or respective owner